cairo_surface_t *cairo_surface;
- int32_t next_attach_serial;
-
gchar *title;
/* Time of most recent user interaction. */
if (GDK_WINDOW_DESTROYED (window))
return;
- if (impl->next_attach_serial > 0)
- {
- xdg_surface_ack_configure (impl->xdg_surface, impl->next_attach_serial);
- impl->next_attach_serial = 0;
- }
-
/* Attach this new buffer to the surface */
wl_surface_attach (impl->surface,
_gdk_wayland_shm_surface_get_wl_buffer (impl->cairo_surface),
}
_gdk_set_window_state (window, new_state);
- impl->next_attach_serial = serial;
+ xdg_surface_ack_configure (xdg_surface, serial);
}
static void